

:root {
    --primary: #165DFF;
    --secondary: #36D399;
    --accent: #FF9F43;
    --dark: #1E293B;
    --light: #F8FAFC;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    margin: 0;
    padding: 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 背景图片容器 */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/img.jpg');
    /* 本地1920×1080图片 */
    background-size: cover;
    background-position: center;
    filter: blur(8px) brightness(0.7);
    transform: scale(1.05);
    /* 轻微放大以消除模糊边缘 */
}

/* 登录容器 */
.login-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    margin: 0 auto;
}

/* 卡片样式 */
.card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 1.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

/* 其他样式保持不变 */
.content-padding {
    padding: 2.5rem;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background-color: rgba(22, 93, 255, 0.15);
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.logo-icon {
    color: var(--primary);
    font-size: 1.75rem;
}

.title {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--gray-800);
    text-align: center;
    margin-bottom: 0.75rem;
}

.subtitle {
    font-size: 1rem;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 2.5rem;
}

:root {
    --primary: #165DFF;
    --secondary: #36D399;
    --accent: #FF9F43;
    --dark: #1E293B;
    --light: #F8FAFC;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: linear-gradient(135deg, rgba(22, 93, 255, 0.1) 0%, rgba(22, 93, 255, 0.05) 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}



.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.card {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05), 0 6px 6px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.content-padding {
    padding: 2rem;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(22, 93, 255, 0.1);
    margin: 0 auto 1rem;
}

.logo-icon {
    color: var(--primary);
    font-size: 1.5rem;
}

.title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gray-800);
    text-align: center;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1rem;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 2rem;
}

.user-type-selection {
    margin-bottom: 2rem;
}

.form-radio {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 1rem;
    height: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 50%;
    outline: none;
    transition: all 0.2s ease;
    position: relative;
}

.form-radio:checked {
    border-color: var(--primary);
}

.form-radio:checked::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background-color: var(--primary);
    border-radius: 50%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: medium;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.3);
    border-color: var(--primary);
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.input-container {
    position: relative;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background-color: rgba(22, 93, 255, 0.9);
}

.register-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 1rem;
}

.register-link {
    color: var(--primary);
    text-decoration: none;
}

.register-link:hover {
    text-decoration: underline;
}

.hidden {
    display: none;
}

.copyright {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.75rem;
    margin-top: 1.5rem;
}